package org.com.andy.domain.vo;

import lombok.Data;
import org.flowable.common.engine.impl.db.SuspensionState;
import org.flowable.engine.ProcessEngineConfiguration;
import org.flowable.engine.impl.bpmn.data.IOSpecification;

import java.util.Map;

@Data
public class ProcessDefinitionVo {

    private String id;
    private String name;
    private String localizedName;
    private String description;
    private String localizedDescription;
    private String key;
    private int version;
    private String category;
    private String deploymentId;
    private String resourceName;
    private String tenantId = ProcessEngineConfiguration.NO_TENANT_ID;
    private Integer historyLevel;
    private String diagramResourceName;
    private boolean isGraphicalNotationDefined;
    private Map<String, Object> variables;
    private boolean hasStartFormKey;
    private int suspensionState = SuspensionState.ACTIVE.getStateCode();
    private boolean isIdentityLinksInitialized;
    private IOSpecification ioSpecification;
    private String derivedFrom;
    private String derivedFromRoot;
    private int derivedVersion;
}
